using System.ComponentModel.DataAnnotations;

namespace WRSManagementSystem.DomainModel.Entities
{
    [MetadataType(typeof (PersonMetadata))]
    public partial class Person
    {
    }


    internal class PersonMetadata
    {
        [StringLength(20), Required]
        public virtual string Name { get; set; }

        [StringLength(30), Required]
        public virtual string Surname { get; set; }
    }
}